package com.ld.wms.business.material.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 物料模板表,用于提前导入或者存一些已经存在的物料名称，方便后期新建类似的物料快速添加
 * </p>
 *
 * @author wangfeng
 * @since 2025-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("material_tmp")
@Schema(description = "物料模板表,用于提前导入或者存一些已经存在的物料名称，方便后期新建类似的物料快速添加")
public class MaterialTmpModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "唯一编号")
    private String code;

    @Schema(description = "cas编码")
    private String casCode;

    @Schema(description = "类型名称")
    private String name;


    public static final String ID = "id";

    public static final String CODE = "code";

    public static final String NAME = "name";

}
